package com.sxt.model;

public class LoginAction {
	private String userName;
	private String passWord;

	public boolean login() {
		if (userName != null && passWord != null && userName.equals("jack") && passWord.equals("jack")) {
			return true;
		}
		return false;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

}
